<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>商城首页</title>
    <%@include file="../common/header.jsp" %>
</head>
<body>

<%@include file="../common/top.jsp" %>

<div class="section clearfix" style="margin-top: 10px;">
    <!--/页面右边-->
    <div class="right-260">
        <div class="bg-wrap nobg">
            <div class="sidebar-box">

                <h4>资讯类别</h4>
                <ul class="navbar">
                    <c:forEach var="vo" items="${newsCatalogVos }">
                        <li>
                            <h5><a href="#">${vo.newsCatalog.name }</a></h5>
                            <p>

                                <c:forEach var="childer" items="${vo.newsCatalogs }">
                                    <a href="#">${childer.name }</a>
                                </c:forEach>

                            </p>
                        </li>
                    </c:forEach>
                </ul>
            </div>



        </div>
    </div>
    <!--/页面右边-->

    <!--页面左边-->
    <div class="left-auto">
        <div class="bg-wrap">
            <div class="meta">
                <h2>${news.newsTitle }</h2>
                <div class="info">
                    <span><i class="iconfont icon-date"></i>
                      <f:formatDate value="${news.addTime }" pattern="yyyy-MM-dd HH:mm:ss"/>
                    </span>
                    <span><i class="iconfont icon-comment"></i>${news.commentCount }人评论</span>
                    <span><i class="iconfont icon-view"></i>${news.countClick }次</span>
                </div>
                <div class="note">
                    <p>${news.subTitle }</p>
                </div>
            </div>

            <div class="entry">
            		${news.description }
            </div>

        </div>
    </div>
    <!--/页面左边-->
</div>



<div class="footer-copyright">
    <p>软信商城©2013-2017 软信大学版权所有 京ICP备17017089号 京公网安备11000002000006号</p>
</div>
</body>
</html>